import api from "@/libs/request";

/** 获取弹窗图片 */
export const getDialogImg = (data: any) => {
  return api.put(`/recycling/recycling-setting/popup/window`, data);
};

/**
 * 获取关联优惠券
 */
export const getRecoveryCoupon = (data: any) => {
  return api.get(`/discount/manager/coupon/recycle/list`, data);
};

/** 回收返券通用设置 */
export const saveRecoverySet = (data: any) => {
  return api.put(`/recycling/recycling-setting/coupon/modify`, data);
};

/** 获取相关订单 */
export const getRecoveryOrderList = (data: any) => {
  return api.get(`/recycling/recycling-order/pc/list`, data);
};

